package com.ctl.feign;

import com.ctl.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("USER")
public interface UserFeign {
    @GetMapping("/userByuid")
    public User getUser(@RequestParam("uid") Integer uid);
}
